<?php
class sfFileValidatedFile extends sfValidatedFile
{
  public function save($file = null, $fileMode = 0666, $create = true, $dirMode = 0777)
  {
     //$this->path=sfConfig::get('sf_upload_dir')."/material/gallery";
    $file_name = parent::save( $this->getOriginalName(), $fileMode, $create, $dirMode);

    
    return $file_name;
  }
  
	
	
	
}